from django.contrib import admin

# Register your models here.
from webcases.models import WebTestingProject, WebTestingCase, WebTestingCaseSteps


@admin.register(WebTestingCase)
class WebTestingCaseAdmin(admin.ModelAdmin):
    list_display = ("case_name", "case_desc")

    def save_model(self, request, obj, form, change):
        pass


@admin.register(WebTestingProject)
class WebTestingProjectAdmin(admin.ModelAdmin):
    list_display = ("project_name", "project_desc", "creator", "create_date")


@admin.register(WebTestingCaseSteps)
class WebTestingCaseStepsAdmin(admin.ModelAdmin):
    list_display = ("step_name", "step_order", "locate_by", "locate_pattern", "value")
